export type UserInfo =  {
    id?: number;
    username?: string;
    email?: string;
    avatar?: string;
    bio?: string;
    sex?: number;
    area?: AreaInfo;
}

export type AreaInfo =  {
    provincesCode?: string;
    cityCode?: string;
    countyCode?: string;
}

export type LoginInfo =  {
    username: string;
    password: string;
    kaptcha?: string;
}

export type AccountInfo =  {
    userId: number;
    username?: string;
    nickname?: string;
    phone?: string;
    email?: string;
    status?: number;
    token?: string;
}
